//
// Created by liushuai on 18-8-23.
//

#ifndef EX3_NODE_HPP
#define EX3_NODE_HPP


class Node {
public:
    Node();
    int index,data;
    Node *pLChild;
    Node *pRChild;
    Node *pParent;
    Node *searchNode(int nodeIndex);
    void DeleteNode();
    void PerorderTraversal();
    void InorderTraversal();
    void PosorderTraversal();
};


#endif //EX3_NODE_HPP
